package com.miage.pki.service;

import java.util.List;

import com.miage.pki.obj.User;

public interface UserService {

    public boolean CreateUser(String username, String password, String last_name, String first_name, String dn, String email);
    
    public List<User> ListUsers();
    
    public List<User> ListWaitingUsers();
    
    public List<User> ListDeletedUsers();
    
    public boolean enableUser(String username);
    
    public boolean disableUser(String username);
    
    public User getUser(String username);
    
    public boolean deleteWaitingUser(String username);
    
    public boolean modifyUser(String username, String password);
    
    public String getUserKeyStorePassword(String username);
    
    public User getUserFormDN(String dn);
    
    public String encode(String password);
    
}
